|
|
|
|
|
|
|
Next
MsgBox "Press OK to continue"
Me.Cls
Next
'
End Sub |
|
|
|
|
|
|
|
|
After you enter the code, save the form as DATABASE.FRM and the project as DATABASE.VBP, and then run the program. You see a list on the screen showing the table name, a list of all the fields in the table, and a dialog box. Click the dialog box to continue to the next table. After clicking OK through the table listing, you see a list of each index defined for each table, which you can also click through one at a time. Your two screens should look something like the one in Figure 3.9 for tables and the one in Figure 3.10 for indexes. |
|
|
|
|
|
|
|
|
Figure 3.9.
List of fields in the Publishers table in BOOKS5.MDB. |
|
|
|
|
| |
|
|
|
|
As you click through the database tables, you see several tables that start with "MSYS." These are system tables used by the Microsoft Jet database engine and are not used for data storage or retrieval. You should also notice that each Index object consists of a unique name and one or more fields (displayed in brackets). You do not see a data table |
|
|
|
|
|
|
|